#ifndef __HI_VIRTUALTP_H__
#define __HI_VIRTUALTP_H__

typedef enum
{
    HI_VIRTUALTP_POINTSTATE_DOWN = 0,
    HI_VIRTUALTP_POINTSTATE_UP,
    HI_VIRTUALTP_POINTSTATE_BUTT
} virtualtp_pointstate;

typedef struct
{
    unsigned int x;
    unsigned int y;
} virtualtp_point;

typedef struct
{
    virtualtp_point  point;
    virtualtp_pointstate pointstate;
} hi_virtualtp_touchspot;

typedef struct
{
    hi_virtualtp_touchspot firstspot;
    hi_virtualtp_touchspot secondspot;
} hi_virtualtp_twospot;

#define VIRTUALTP_SET_COORDINATE    _IOWR('w', 4, hi_virtualtp_twospot)

#endif

